package com.pencilisland.pay.mgt.console.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.pencilisland.pay.mgt.console.entity.SysUser;

public interface UserRepository extends JpaRepository<SysUser, Long>, JpaSpecificationExecutor<SysUser> {

	SysUser findByLoginName(String loginName);

	List<SysUser> findByOrgIdAndStatus(long l, String status);

}
